<div class="one_answer clearfix">
    <div class="support_block">
        <if condition="$answer['is_support']||$answer['is_oppose']">
            <a title={:L("_SUPPORT_WITH_DOUBLE_")} <eq name="answer['is_support']" value="1">class="butt already_do"<else/>class="butt"</eq>>
                <i class="icon icon-thumbs-up"></i>
                <br/>
                <span class="num">{$answer.support}</span>
            </a>
            <a title={:L("_OBJECT_NOT_SHOWING_YOUR_NAME_WITH_DOUBLE_")} <eq name="answer['is_oppose']" value="1">class="butt already_do"<else/>class="butt"</eq>>
                <span class="num">{$answer.oppose}</span>
                <br/>
                <i class="icon icon-thumbs-down"></i>
            </a>
            <else/>
            <a title={:L("_SUPPORT_WITH_DOUBLE_")} class="butt can_do" data-role="answer-support" data-id="{$answer.id}">
                <i class="icon icon-thumbs-up"></i>
                <br/>
                <span class="num">{$answer.support}</span>
            </a>
            <a title={:L("_OBJECT_NOT_SHOWING_YOUR_NAME_WITH_DOUBLE_")} class="butt can_do" data-role="answer-oppose" data-id="{$answer.id}">
                <span class="num">{$answer.oppose}</span>
                <br/>
                <i class="icon icon-thumbs-down"></i>
            </a>
        </if>
    </div>
    <div class="a_info">
        <div class="answer_user"><a ucard="{$answer.uid}" href="{$answer.user.space_url}">{$answer.user.nickname}</a>&nbsp;{:W('Common/UserRank/render',array($answer['uid']))}</div>
        <div>
            <notempty name="answer['support_user']">
                <volist name="answer['support_user']" id="support_user">
                    <a ucard="{$support_user.uid}" href="{$support_user.space_url}">{$support_user.nickname}</a>&nbsp;
                </volist>
              {:L("_AGREE_WITH_SPACE_")}
            </notempty>
        </div>
        <div class="a_content">{$answer.content|render}</div>
        <div class="q_black_info">
          {:L("_RECOVERY_TIME_WITH_COLON_WITH_SPACE_")}{$answer.create_time|friendlyDate}
            <if condition="check_auth('Question/Answer/edit',$answer['uid'])">
                &nbsp;&nbsp;<a href="{:U('Question/Answer/edit',array('answer_id'=>$answer['id']))}">{:L("_EDIT_")}</a>
            </if>
            <if condition="check_auth('Question/Answer/setBest',-1)|| (($question['uid'] eq is_login()) && !$question['best_answer'])">
                &nbsp;&nbsp;<a class="text-success" data-role="set-best" data-id="{$answer['id']}" data-question-id="{$question.id}" >{:L("_SET_TO_THE_BEST_ANSWER_")}</a>
            </if>
        </div>
    </div>
</div>